/**
 * 订单表 枚举
 *
 * @Author:    zhoujk
 * @Date:      2025-01-26 06:40:44
 */
export const ZZB_PAY_TYPE_ENUM = {
  PAY_TYPE_ONLINE: {
    value: 0,
    desc: '线上',
  },
  PAY_TYPE_OFFLINE: {
    value: 1,
    desc: '线下',
  },
}

export const ZZB_PAY_WAY_ENUM = {
  UNKNOWN: {
    value: 0,
    desc: '未知',
  },
  ALIPAY_USER_SCAN: {
    value: 1,
    desc: '支付宝用户扫码(订单码)',
  },
  ALIPAY_MCH_SCAN: {
    value: 2,
    desc: '支付宝商家扫码(付款码)',
  },
  ALIPAY_JS_PAY: {
    value: 3,
    desc: '支付宝JS支付',
  },
  ALIPAY_APP_PAY: {
    value: 4,
    desc: '支付宝APP支付',
  },
  ALIPAY_H5_PAY: {
    value: 5,
    desc: '支付宝H5支付',
  },
  ALIPAY_PC_PAY: {
    value: 6,
    desc: '支付宝PC支付',
  },
  ALIPAY_PERIODIC_PAY: {
    value: 7,
    desc: '支付宝周期扣款支付',
  },
  ALIPAY_PRE_AUTH_PAY: {
    value: 8,
    desc: '支付宝预授权支付',
  },
  ALIPAY_FACE_SCAN: {
    value: 9,
    desc: '支付宝刷脸支付',
  },
  WECHAT_USER_SCAN: {
    value: 21,
    desc: '微信用户扫码(NATIVE)',
  },
  WECHAT_MCH_SCAN: {
    value: 22,
    desc: '微信商家扫码(付款码)',
  },
  WECHAT_JS_PAY: {
    value: 23,
    desc: '微信JS支付(公众号)',
  },
  WECHAT_MINI_PROGRAM: {
    value: 24,
    desc: '微信小程序支付',
  },
  WECHAT_APP_PAY: {
    value: 25,
    desc: '微信APP支付',
  },
  WECHAT_H5_PAY: {
    value: 26,
    desc: '微信H5支付',
  },
  WECHAT_COMBINE_PAY: {
    value: 27,
    desc: '微信合单支付',
  },
  WECHAT_FACE_SCAN: {
    value: 28,
    desc: '微信刷脸支付',
  },
}

export default {
  ZZB_PAY_TYPE_ENUM,
  ZZB_PAY_WAY_ENUM,
}
